package request

import (
	"gitcode.com/G-YT/ANN/server/model/common/request"
	"time"
)

type PluginOrderSearch struct {
	CreatedAtRange  []time.Time `json:"createdAtRange" form:"createdAtRange[]"`
	OrderNo         *string     `json:"order_no" form:"order_no"`
	UserId          *int        `json:"user_id" form:"user_id"`
	PluginId        *int        `json:"plugin_id" form:"plugin_id"`
	StartAmount     *float64    `json:"startAmount" form:"startAmount"`
	EndAmount       *float64    `json:"endAmount" form:"endAmount"`
	PayStatus       string      `json:"pay_status" form:"pay_status"`
	PayMethod       string      `json:"pay_method" form:"pay_method"`
	PayTimeRange    []time.Time `json:"pay_timeRange" form:"pay_timeRange[]"`
	ExpireTimeRange []time.Time `json:"expire_timeRange" form:"expire_timeRange[]"`
	request.PageInfo
	Sort  string `json:"sort" form:"sort"`
	Order string `json:"order" form:"order"`
}
